package com.cskaoyan.service.promote;

import com.cskaoyan.mapper.MallFeedbackMapper;
import com.cskaoyan.model.bo.promote.WxFeedbackBo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author：23117
 * @date: 2021/12/4
 */
@Service
public class WxFeedbackServiceImpl implements WxFeedbackService {
    @Autowired
    MallFeedbackMapper mallFeedbackMapper;
    @Override
    public int submit(WxFeedbackBo wxFeedbackBo,Integer userid) {

        int i = mallFeedbackMapper.submit(wxFeedbackBo,userid);

        if (i==1) return 1;
        return 0;
    }
}
